upper bound and lower bound